package protobuf.message;
import protobuf.message.PBMessage.*;
import protobuf.message.PBMessage;
import com.google.protobuf.InvalidProtocolBufferException;
import com.hutong.framework.convert.IConvert;
public class PBConvert implements IConvert {
	public Object toObject(int opcode, byte[] objectBytes) throws InvalidProtocolBufferException {
		Object result = null;
		switch (opcode) {
			case OpDefine.CSChatSend:
				result=PBMessage.CSChatSend.parseFrom(objectBytes);
				break;
			case OpDefine.SCChatPush:
				result=PBMessage.SCChatPush.parseFrom(objectBytes);
				break;
			case OpDefine.SCSystemChatPush:
				result=PBMessage.SCSystemChatPush.parseFrom(objectBytes);
				break;
			case OpDefine.CSChatOffLine:
				result=PBMessage.CSChatOffLine.parseFrom(objectBytes);
				break;
			case OpDefine.SCChatOffLine:
				result=PBMessage.SCChatOffLine.parseFrom(objectBytes);
				break;
			case OpDefine.CSTestEnterFight:
				result=PBMessage.CSTestEnterFight.parseFrom(objectBytes);
				break;
			case OpDefine.SCTestEnterFight:
				result=PBMessage.SCTestEnterFight.parseFrom(objectBytes);
				break;
			case OpDefine.SCFightEnter:
				result=PBMessage.SCFightEnter.parseFrom(objectBytes);
				break;
			case OpDefine.CSFightLoadState:
				result=PBMessage.CSFightLoadState.parseFrom(objectBytes);
				break;
			case OpDefine.SCFightLoadState:
				result=PBMessage.SCFightLoadState.parseFrom(objectBytes);
				break;
			case OpDefine.CSFightBegin:
				result=PBMessage.CSFightBegin.parseFrom(objectBytes);
				break;
			case OpDefine.SCFightBegin:
				result=PBMessage.SCFightBegin.parseFrom(objectBytes);
				break;
			case OpDefine.CSNextActionReady:
				result=PBMessage.CSNextActionReady.parseFrom(objectBytes);
				break;
			case OpDefine.SCNextActionReady:
				result=PBMessage.SCNextActionReady.parseFrom(objectBytes);
				break;
			case OpDefine.SCFightRoundInfoSync:
				result=PBMessage.SCFightRoundInfoSync.parseFrom(objectBytes);
				break;
			case OpDefine.SCFightActionCampChange:
				result=PBMessage.SCFightActionCampChange.parseFrom(objectBytes);
				break;
			case OpDefine.CSFightUnitAction:
				result=PBMessage.CSFightUnitAction.parseFrom(objectBytes);
				break;
			case OpDefine.SCFightUnitAction:
				result=PBMessage.SCFightUnitAction.parseFrom(objectBytes);
				break;
			case OpDefine.CSFightQuit:
				result=PBMessage.CSFightQuit.parseFrom(objectBytes);
				break;
			case OpDefine.SCFightResult:
				result=PBMessage.SCFightResult.parseFrom(objectBytes);
				break;
			case OpDefine.CSPlayerLogin:
				result=PBMessage.CSPlayerLogin.parseFrom(objectBytes);
				break;
			case OpDefine.SCPlayerLogin:
				result=PBMessage.SCPlayerLogin.parseFrom(objectBytes);
				break;
			case OpDefine.SCServerFull:
				result=PBMessage.SCServerFull.parseFrom(objectBytes);
				break;
			case OpDefine.CSGetRandomName:
				result=PBMessage.CSGetRandomName.parseFrom(objectBytes);
				break;
			case OpDefine.SCGetRandomName:
				result=PBMessage.SCGetRandomName.parseFrom(objectBytes);
				break;
			case OpDefine.CSPlayerRename:
				result=PBMessage.CSPlayerRename.parseFrom(objectBytes);
				break;
			case OpDefine.SCPlayerRename:
				result=PBMessage.SCPlayerRename.parseFrom(objectBytes);
				break;
			case OpDefine.CSHeartBeat:
				result=PBMessage.CSHeartBeat.parseFrom(objectBytes);
				break;
			case OpDefine.SCHeartBeat:
				result=PBMessage.SCHeartBeat.parseFrom(objectBytes);
				break;
			case OpDefine.CSPlayerDisConnect:
				result=PBMessage.CSPlayerDisConnect.parseFrom(objectBytes);
				break;
			case OpDefine.SCUpdateBag:
				result=PBMessage.SCUpdateBag.parseFrom(objectBytes);
				break;
			case OpDefine.SCUpdateHeroBag:
				result=PBMessage.SCUpdateHeroBag.parseFrom(objectBytes);
				break;
			case OpDefine.CSBagToHeroBag:
				result=PBMessage.CSBagToHeroBag.parseFrom(objectBytes);
				break;
			case OpDefine.CSHeroBagExChange:
				result=PBMessage.CSHeroBagExChange.parseFrom(objectBytes);
				break;
			case OpDefine.CSCheckDevicePreferPreset:
				result=PBMessage.CSCheckDevicePreferPreset.parseFrom(objectBytes);
				break;
			case OpDefine.SCCheckDevicePreferPreset:
				result=PBMessage.SCCheckDevicePreferPreset.parseFrom(objectBytes);
				break;
			case OpDefine.CSCheckVersion:
				result=PBMessage.CSCheckVersion.parseFrom(objectBytes);
				break;
			case OpDefine.SCCheckVersion:
				result=PBMessage.SCCheckVersion.parseFrom(objectBytes);
				break;
			case OpDefine.CSCheckActivation:
				result=PBMessage.CSCheckActivation.parseFrom(objectBytes);
				break;
			case OpDefine.SCCheckActivation:
				result=PBMessage.SCCheckActivation.parseFrom(objectBytes);
				break;
			case OpDefine.CSActivateAccount:
				result=PBMessage.CSActivateAccount.parseFrom(objectBytes);
				break;
			case OpDefine.SCActivateAccount:
				result=PBMessage.SCActivateAccount.parseFrom(objectBytes);
				break;
			case OpDefine.CSGetServerInfo:
				result=PBMessage.CSGetServerInfo.parseFrom(objectBytes);
				break;
			case OpDefine.SCGetServerInfo:
				result=PBMessage.SCGetServerInfo.parseFrom(objectBytes);
				break;
			case OpDefine.CSLoginCheckByName:
				result=PBMessage.CSLoginCheckByName.parseFrom(objectBytes);
				break;
			case OpDefine.SCLoginCheckByName:
				result=PBMessage.SCLoginCheckByName.parseFrom(objectBytes);
				break;
			case OpDefine.CSMainServerPoint:
				result=PBMessage.CSMainServerPoint.parseFrom(objectBytes);
				break;
			case OpDefine.SCMainServerPoint:
				result=PBMessage.SCMainServerPoint.parseFrom(objectBytes);
				break;
			case OpDefine.CSCheckCanReportErrorLog:
				result=PBMessage.CSCheckCanReportErrorLog.parseFrom(objectBytes);
				break;
			case OpDefine.SCCheckCanReportErrorLog:
				result=PBMessage.SCCheckCanReportErrorLog.parseFrom(objectBytes);
				break;
			case OpDefine.CSReportErrorLog:
				result=PBMessage.CSReportErrorLog.parseFrom(objectBytes);
				break;
			case OpDefine.SCReportErrorLog:
				result=PBMessage.SCReportErrorLog.parseFrom(objectBytes);
				break;
			case OpDefine.SCTellClientReportErrorLog:
				result=PBMessage.SCTellClientReportErrorLog.parseFrom(objectBytes);
				break;
			case OpDefine.SCPlayerInfo:
				result=PBMessage.SCPlayerInfo.parseFrom(objectBytes);
				break;
			case OpDefine.CSSceneLoading:
				result=PBMessage.CSSceneLoading.parseFrom(objectBytes);
				break;
			case OpDefine.SCSceneLoading:
				result=PBMessage.SCSceneLoading.parseFrom(objectBytes);
				break;
			case OpDefine.CSSceneEnter:
				result=PBMessage.CSSceneEnter.parseFrom(objectBytes);
				break;
			case OpDefine.SCSceneEnter:
				result=PBMessage.SCSceneEnter.parseFrom(objectBytes);
				break;
			case OpDefine.CSSceneTransfer:
				result=PBMessage.CSSceneTransfer.parseFrom(objectBytes);
				break;
			case OpDefine.SCSceneTransfer:
				result=PBMessage.SCSceneTransfer.parseFrom(objectBytes);
				break;
			case OpDefine.CSSceneMove:
				result=PBMessage.CSSceneMove.parseFrom(objectBytes);
				break;
			case OpDefine.SCSceneForceDrag:
				result=PBMessage.SCSceneForceDrag.parseFrom(objectBytes);
				break;
			case OpDefine.SCSceneUnitStateUpdate:
				result=PBMessage.SCSceneUnitStateUpdate.parseFrom(objectBytes);
				break;
			case OpDefine.CSSceneChangeMoveMode:
				result=PBMessage.CSSceneChangeMoveMode.parseFrom(objectBytes);
				break;
			case OpDefine.SCSceneChangeMoveMode:
				result=PBMessage.SCSceneChangeMoveMode.parseFrom(objectBytes);
				break;
			case OpDefine.CSDialogInteraction:
				result=PBMessage.CSDialogInteraction.parseFrom(objectBytes);
				break;
			case OpDefine.SCDialogInteraction:
				result=PBMessage.SCDialogInteraction.parseFrom(objectBytes);
				break;
			case OpDefine.SCRefreshSceneUnitAOI:
				result=PBMessage.SCRefreshSceneUnitAOI.parseFrom(objectBytes);
				break;
			case OpDefine.CSRequestSceneUnitInfo:
				result=PBMessage.CSRequestSceneUnitInfo.parseFrom(objectBytes);
				break;
			case OpDefine.SCRequestSceneUnitInfo:
				result=PBMessage.SCRequestSceneUnitInfo.parseFrom(objectBytes);
				break;
			case OpDefine.CSSceneGather:
				result=PBMessage.CSSceneGather.parseFrom(objectBytes);
				break;
			case OpDefine.SCSceneGather:
				result=PBMessage.SCSceneGather.parseFrom(objectBytes);
				break;
			case OpDefine.SCSceneShowProUpdate:
				result=PBMessage.SCSceneShowProUpdate.parseFrom(objectBytes);
				break;
			case OpDefine.ErrorMessage:
				result=PBMessage.ErrorMessage.parseFrom(objectBytes);
				break;
			case OpDefine.SystemMessage:
				result=PBMessage.SystemMessage.parseFrom(objectBytes);
				break;
			case OpDefine.GMDoSomething:
				result=PBMessage.GMDoSomething.parseFrom(objectBytes);
				break;
			case OpDefine.CSGetTaskList:
				result=PBMessage.CSGetTaskList.parseFrom(objectBytes);
				break;
			case OpDefine.SCGetTaskList:
				result=PBMessage.SCGetTaskList.parseFrom(objectBytes);
				break;
			case OpDefine.CSFinishTaskTarget:
				result=PBMessage.CSFinishTaskTarget.parseFrom(objectBytes);
				break;
			case OpDefine.SCFinishTaskTarget:
				result=PBMessage.SCFinishTaskTarget.parseFrom(objectBytes);
				break;
			case OpDefine.CSAcceptTask:
				result=PBMessage.CSAcceptTask.parseFrom(objectBytes);
				break;
			case OpDefine.SCAcceptTask:
				result=PBMessage.SCAcceptTask.parseFrom(objectBytes);
				break;
			case OpDefine.CSFinishTask:
				result=PBMessage.CSFinishTask.parseFrom(objectBytes);
				break;
			case OpDefine.SCFinishTask:
				result=PBMessage.SCFinishTask.parseFrom(objectBytes);
				break;
			case OpDefine.CSGiveUpTask:
				result=PBMessage.CSGiveUpTask.parseFrom(objectBytes);
				break;
			case OpDefine.SCGiveUpTask:
				result=PBMessage.SCGiveUpTask.parseFrom(objectBytes);
				break;
			case OpDefine.CSTaskChapterInfo:
				result=PBMessage.CSTaskChapterInfo.parseFrom(objectBytes);
				break;
			case OpDefine.SCTaskChapterInfo:
				result=PBMessage.SCTaskChapterInfo.parseFrom(objectBytes);
				break;
			case OpDefine.SCRefreshCanAcceptTasks:
				result=PBMessage.SCRefreshCanAcceptTasks.parseFrom(objectBytes);
				break;
			case OpDefine.CSTaskEnterFight:
				result=PBMessage.CSTaskEnterFight.parseFrom(objectBytes);
				break;
			case OpDefine.SCTaskEnterFight:
				result=PBMessage.SCTaskEnterFight.parseFrom(objectBytes);
				break;
			case OpDefine.SCProtobuffTestData:
				result=PBMessage.SCProtobuffTestData.parseFrom(objectBytes);
				break;
			default:
				result = null;
				break;
		}
		return result;
	}
	public byte[] toBytes(int opcode, Object object) {
		byte[] objectBytes = null;
		switch (opcode) {
			case OpDefine.CSChatSend:
			    objectBytes = ((CSChatSend) object).toByteArray();
			    break;
			case OpDefine.SCChatPush:
			    objectBytes = ((SCChatPush) object).toByteArray();
			    break;
			case OpDefine.SCSystemChatPush:
			    objectBytes = ((SCSystemChatPush) object).toByteArray();
			    break;
			case OpDefine.CSChatOffLine:
			    objectBytes = ((CSChatOffLine) object).toByteArray();
			    break;
			case OpDefine.SCChatOffLine:
			    objectBytes = ((SCChatOffLine) object).toByteArray();
			    break;
			case OpDefine.CSTestEnterFight:
			    objectBytes = ((CSTestEnterFight) object).toByteArray();
			    break;
			case OpDefine.SCTestEnterFight:
			    objectBytes = ((SCTestEnterFight) object).toByteArray();
			    break;
			case OpDefine.SCFightEnter:
			    objectBytes = ((SCFightEnter) object).toByteArray();
			    break;
			case OpDefine.CSFightLoadState:
			    objectBytes = ((CSFightLoadState) object).toByteArray();
			    break;
			case OpDefine.SCFightLoadState:
			    objectBytes = ((SCFightLoadState) object).toByteArray();
			    break;
			case OpDefine.CSFightBegin:
			    objectBytes = ((CSFightBegin) object).toByteArray();
			    break;
			case OpDefine.SCFightBegin:
			    objectBytes = ((SCFightBegin) object).toByteArray();
			    break;
			case OpDefine.CSNextActionReady:
			    objectBytes = ((CSNextActionReady) object).toByteArray();
			    break;
			case OpDefine.SCNextActionReady:
			    objectBytes = ((SCNextActionReady) object).toByteArray();
			    break;
			case OpDefine.SCFightRoundInfoSync:
			    objectBytes = ((SCFightRoundInfoSync) object).toByteArray();
			    break;
			case OpDefine.SCFightActionCampChange:
			    objectBytes = ((SCFightActionCampChange) object).toByteArray();
			    break;
			case OpDefine.CSFightUnitAction:
			    objectBytes = ((CSFightUnitAction) object).toByteArray();
			    break;
			case OpDefine.SCFightUnitAction:
			    objectBytes = ((SCFightUnitAction) object).toByteArray();
			    break;
			case OpDefine.CSFightQuit:
			    objectBytes = ((CSFightQuit) object).toByteArray();
			    break;
			case OpDefine.SCFightResult:
			    objectBytes = ((SCFightResult) object).toByteArray();
			    break;
			case OpDefine.CSPlayerLogin:
			    objectBytes = ((CSPlayerLogin) object).toByteArray();
			    break;
			case OpDefine.SCPlayerLogin:
			    objectBytes = ((SCPlayerLogin) object).toByteArray();
			    break;
			case OpDefine.SCServerFull:
			    objectBytes = ((SCServerFull) object).toByteArray();
			    break;
			case OpDefine.CSGetRandomName:
			    objectBytes = ((CSGetRandomName) object).toByteArray();
			    break;
			case OpDefine.SCGetRandomName:
			    objectBytes = ((SCGetRandomName) object).toByteArray();
			    break;
			case OpDefine.CSPlayerRename:
			    objectBytes = ((CSPlayerRename) object).toByteArray();
			    break;
			case OpDefine.SCPlayerRename:
			    objectBytes = ((SCPlayerRename) object).toByteArray();
			    break;
			case OpDefine.CSHeartBeat:
			    objectBytes = ((CSHeartBeat) object).toByteArray();
			    break;
			case OpDefine.SCHeartBeat:
			    objectBytes = ((SCHeartBeat) object).toByteArray();
			    break;
			case OpDefine.CSPlayerDisConnect:
			    objectBytes = ((CSPlayerDisConnect) object).toByteArray();
			    break;
			case OpDefine.SCUpdateBag:
			    objectBytes = ((SCUpdateBag) object).toByteArray();
			    break;
			case OpDefine.SCUpdateHeroBag:
			    objectBytes = ((SCUpdateHeroBag) object).toByteArray();
			    break;
			case OpDefine.CSBagToHeroBag:
			    objectBytes = ((CSBagToHeroBag) object).toByteArray();
			    break;
			case OpDefine.CSHeroBagExChange:
			    objectBytes = ((CSHeroBagExChange) object).toByteArray();
			    break;
			case OpDefine.CSCheckDevicePreferPreset:
			    objectBytes = ((CSCheckDevicePreferPreset) object).toByteArray();
			    break;
			case OpDefine.SCCheckDevicePreferPreset:
			    objectBytes = ((SCCheckDevicePreferPreset) object).toByteArray();
			    break;
			case OpDefine.CSCheckVersion:
			    objectBytes = ((CSCheckVersion) object).toByteArray();
			    break;
			case OpDefine.SCCheckVersion:
			    objectBytes = ((SCCheckVersion) object).toByteArray();
			    break;
			case OpDefine.CSCheckActivation:
			    objectBytes = ((CSCheckActivation) object).toByteArray();
			    break;
			case OpDefine.SCCheckActivation:
			    objectBytes = ((SCCheckActivation) object).toByteArray();
			    break;
			case OpDefine.CSActivateAccount:
			    objectBytes = ((CSActivateAccount) object).toByteArray();
			    break;
			case OpDefine.SCActivateAccount:
			    objectBytes = ((SCActivateAccount) object).toByteArray();
			    break;
			case OpDefine.CSGetServerInfo:
			    objectBytes = ((CSGetServerInfo) object).toByteArray();
			    break;
			case OpDefine.SCGetServerInfo:
			    objectBytes = ((SCGetServerInfo) object).toByteArray();
			    break;
			case OpDefine.CSLoginCheckByName:
			    objectBytes = ((CSLoginCheckByName) object).toByteArray();
			    break;
			case OpDefine.SCLoginCheckByName:
			    objectBytes = ((SCLoginCheckByName) object).toByteArray();
			    break;
			case OpDefine.CSMainServerPoint:
			    objectBytes = ((CSMainServerPoint) object).toByteArray();
			    break;
			case OpDefine.SCMainServerPoint:
			    objectBytes = ((SCMainServerPoint) object).toByteArray();
			    break;
			case OpDefine.CSCheckCanReportErrorLog:
			    objectBytes = ((CSCheckCanReportErrorLog) object).toByteArray();
			    break;
			case OpDefine.SCCheckCanReportErrorLog:
			    objectBytes = ((SCCheckCanReportErrorLog) object).toByteArray();
			    break;
			case OpDefine.CSReportErrorLog:
			    objectBytes = ((CSReportErrorLog) object).toByteArray();
			    break;
			case OpDefine.SCReportErrorLog:
			    objectBytes = ((SCReportErrorLog) object).toByteArray();
			    break;
			case OpDefine.SCTellClientReportErrorLog:
			    objectBytes = ((SCTellClientReportErrorLog) object).toByteArray();
			    break;
			case OpDefine.SCPlayerInfo:
			    objectBytes = ((SCPlayerInfo) object).toByteArray();
			    break;
			case OpDefine.CSSceneLoading:
			    objectBytes = ((CSSceneLoading) object).toByteArray();
			    break;
			case OpDefine.SCSceneLoading:
			    objectBytes = ((SCSceneLoading) object).toByteArray();
			    break;
			case OpDefine.CSSceneEnter:
			    objectBytes = ((CSSceneEnter) object).toByteArray();
			    break;
			case OpDefine.SCSceneEnter:
			    objectBytes = ((SCSceneEnter) object).toByteArray();
			    break;
			case OpDefine.CSSceneTransfer:
			    objectBytes = ((CSSceneTransfer) object).toByteArray();
			    break;
			case OpDefine.SCSceneTransfer:
			    objectBytes = ((SCSceneTransfer) object).toByteArray();
			    break;
			case OpDefine.CSSceneMove:
			    objectBytes = ((CSSceneMove) object).toByteArray();
			    break;
			case OpDefine.SCSceneForceDrag:
			    objectBytes = ((SCSceneForceDrag) object).toByteArray();
			    break;
			case OpDefine.SCSceneUnitStateUpdate:
			    objectBytes = ((SCSceneUnitStateUpdate) object).toByteArray();
			    break;
			case OpDefine.CSSceneChangeMoveMode:
			    objectBytes = ((CSSceneChangeMoveMode) object).toByteArray();
			    break;
			case OpDefine.SCSceneChangeMoveMode:
			    objectBytes = ((SCSceneChangeMoveMode) object).toByteArray();
			    break;
			case OpDefine.CSDialogInteraction:
			    objectBytes = ((CSDialogInteraction) object).toByteArray();
			    break;
			case OpDefine.SCDialogInteraction:
			    objectBytes = ((SCDialogInteraction) object).toByteArray();
			    break;
			case OpDefine.SCRefreshSceneUnitAOI:
			    objectBytes = ((SCRefreshSceneUnitAOI) object).toByteArray();
			    break;
			case OpDefine.CSRequestSceneUnitInfo:
			    objectBytes = ((CSRequestSceneUnitInfo) object).toByteArray();
			    break;
			case OpDefine.SCRequestSceneUnitInfo:
			    objectBytes = ((SCRequestSceneUnitInfo) object).toByteArray();
			    break;
			case OpDefine.CSSceneGather:
			    objectBytes = ((CSSceneGather) object).toByteArray();
			    break;
			case OpDefine.SCSceneGather:
			    objectBytes = ((SCSceneGather) object).toByteArray();
			    break;
			case OpDefine.SCSceneShowProUpdate:
			    objectBytes = ((SCSceneShowProUpdate) object).toByteArray();
			    break;
			case OpDefine.ErrorMessage:
			    objectBytes = ((ErrorMessage) object).toByteArray();
			    break;
			case OpDefine.SystemMessage:
			    objectBytes = ((SystemMessage) object).toByteArray();
			    break;
			case OpDefine.GMDoSomething:
			    objectBytes = ((GMDoSomething) object).toByteArray();
			    break;
			case OpDefine.CSGetTaskList:
			    objectBytes = ((CSGetTaskList) object).toByteArray();
			    break;
			case OpDefine.SCGetTaskList:
			    objectBytes = ((SCGetTaskList) object).toByteArray();
			    break;
			case OpDefine.CSFinishTaskTarget:
			    objectBytes = ((CSFinishTaskTarget) object).toByteArray();
			    break;
			case OpDefine.SCFinishTaskTarget:
			    objectBytes = ((SCFinishTaskTarget) object).toByteArray();
			    break;
			case OpDefine.CSAcceptTask:
			    objectBytes = ((CSAcceptTask) object).toByteArray();
			    break;
			case OpDefine.SCAcceptTask:
			    objectBytes = ((SCAcceptTask) object).toByteArray();
			    break;
			case OpDefine.CSFinishTask:
			    objectBytes = ((CSFinishTask) object).toByteArray();
			    break;
			case OpDefine.SCFinishTask:
			    objectBytes = ((SCFinishTask) object).toByteArray();
			    break;
			case OpDefine.CSGiveUpTask:
			    objectBytes = ((CSGiveUpTask) object).toByteArray();
			    break;
			case OpDefine.SCGiveUpTask:
			    objectBytes = ((SCGiveUpTask) object).toByteArray();
			    break;
			case OpDefine.CSTaskChapterInfo:
			    objectBytes = ((CSTaskChapterInfo) object).toByteArray();
			    break;
			case OpDefine.SCTaskChapterInfo:
			    objectBytes = ((SCTaskChapterInfo) object).toByteArray();
			    break;
			case OpDefine.SCRefreshCanAcceptTasks:
			    objectBytes = ((SCRefreshCanAcceptTasks) object).toByteArray();
			    break;
			case OpDefine.CSTaskEnterFight:
			    objectBytes = ((CSTaskEnterFight) object).toByteArray();
			    break;
			case OpDefine.SCTaskEnterFight:
			    objectBytes = ((SCTaskEnterFight) object).toByteArray();
			    break;
			case OpDefine.SCProtobuffTestData:
			    objectBytes = ((SCProtobuffTestData) object).toByteArray();
			    break;
         default:
             objectBytes = null;
             break;
		}
		return objectBytes;
 }
}
